﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MobileShop
{
    public partial class MyAccount : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (SessionUser == null || SessionUser.RowCount == 0)
                this.Response.Redirect("Login.aspx?url=MyAccount.aspx");

            if (!IsPostBack)
            {
                PageMap = string.Format("My Account[{0}]|", this.ResolveUrl("~/MyAccount.aspx"));
            }
        }
    }
}